<%- @title='忘记密码' %>
<div class="col-xs-10 col-sm-10 col-md-8 col-lg-8">
    <h4>忘记密码?</h4>
    <div class="pdt10">
        <%= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
          <%= f.error_notification %>

          <%= f.input :email,
                      label: "邮箱",
                      autofocus: true,
                      wrapper_html: {class: "form-group"},
                      input_html: { class: "form-control",
                                    id: "user_email",
                                    placeholder: "必填" }%>

          <button type="submit" class="btn btn-default">发送验证邮件</button>
          <%= link_to "登陆已有账号", new_session_path(resource_name), class: "mgl20" %>
        <% end %>
    </div>
</div>